import http from '@/utils/httpRequest'
// 登录
export function fetchUser(user){
    return http.request({
        method:'post',
        url:'/login',
        data:user
    })
}
// 验证是否登录
export function isValidateUser(){
    return http.request({
        url:'/validate'
    })
}